package org.example.main.service;
import org.example.main.entity.Admin;
import java.util.List;
import java.util.Map;

public interface AdminService {
    int add(Admin admin);
    int deleteById(long adminId);
    int updateById(Admin admin);  // 不修改 admin_id
    Admin findById(long adminId);
    Admin findByUsername(String username);
    List<Admin> findAll();
    public Map<String, Object> getAdminPage(int currentPage, int size);

}
